macos: Support dragging from GdkMacosWindow
authorArjan Molenaar <gaphor@gmail.com>
Mon, 9 Jan 2023 22:01:12 +0000 (23:01 +0100)
committerArjan Molenaar <gaphor@gmail.com>
Sun, 15 Jan 2023 09:01:56 +0000 (10:01 +0100)
commitb9847795a7d060d3f2d97000c4a6d738d7fece97
tree2f07bb91abcd80cebad9b094383f9e8355b1abab
parent420be8fb0f008959d4d5a0be0c1e98cba5a54eb7
macos: Support dragging from GdkMacosWindow

The handling is done similar to drag targets.
Note that dragging is a modal action on macos: no events
are sent to the main window. This could cause trouble when
we finish the drag, and not finish the gesture in GTK.
gdk/macos/GdkMacosWindow.c
gdk/macos/GdkMacosWindow.h
gdk/macos/gdkmacosdisplay-private.h
gdk/macos/gdkmacosdisplay.c
gdk/macos/gdkmacosdrag-private.h
gdk/macos/gdkmacosdrag.c
gdk/macos/gdkmacossurface.c